why use finally in exception handling in python